package com.feicheng.lanniao.controller.pc;

import com.feicheng.lanniao.result.ResultInfo;
import com.feicheng.lanniao.service.SysImageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author tianchunlei
 * @Des //图片上传个数接口
 * @Date 2021/9/24
 **/
@RestController
@RequestMapping("/lanniao-user/image")
public class SysImagePcController {

    @Autowired
    private SysImageService sysImageService;

    /**
     * @Author tianchunlei
     * @Description //用户端上传图片数量查询
     * @Date 2021/9/24 11:50
     * @Param
     * @return
     */
    @GetMapping("/list")
     public ResultInfo getImageList(){

        return  sysImageService.list();
     }
}
